﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SSPharma.View.TimKiem;

namespace SSPharma.Common
{
    class LibraryFunctionFind
    {
        
        #region Tìm kiếm loại tiền
        public static void StringTimKiemLoaiTien(ref string p_sStoreName, ref string p_sParams, ref string p_sValues)
        {
            p_sStoreName = "sp_frmTimKiemLoaiTien";
            p_sParams = "@strDKLoc|@strDKBatBuoc|@strFuture01|@strFuture02|@strFuture03|@strFuture04|@strFuture05";
            p_sValues = "| and  1=1|" + Global.UserID + "|" + Global.DonVi + "|||";
        }
        #endregion

        #region Tìm kiếm ngân hàng
        public static void StringTimKiemNganHang(ref string p_sStoreName, ref string p_sParams, ref string p_sValues)
        {
            p_sStoreName = "sp_frmTimKiemNganHang";
            p_sParams = "@strDKLoc|@strDKBatBuoc|@strFuture01|@strFuture02|@strFuture03|@strFuture04|@strFuture05";
            p_sValues = "| and  1=1|" + Global.UserID + "|" + Global.DonVi + "|||";
        }
        #endregion

        #region Tìm kiếm bộ phận
        public static void StringTimKiemBoPhan(ref string p_sStoreName, ref string p_sParams, ref string p_sValues)
        {
            p_sStoreName = "sp_frmTimKiemBoPhan";
            p_sParams = "@strDKLoc|@strDKBatBuoc|@strFuture01|@strFuture02|@strFuture03|@strFuture04|@strFuture05";
            p_sValues = "| and  1=1|" + Global.UserID + "|" + Global.DonVi + "|||";
        }
        #endregion

        #region Tìm kiếm đơn vị
        public static void StringTimKiemDonVi(ref string p_sStoreName, ref string p_sParams, ref string p_sValues)
        {
            p_sStoreName = "sp_frmTimKiemDonVi";
            p_sParams = "@strDKLoc|@strDKBatBuoc|@strFuture01|@strFuture02|@strFuture03|@strFuture04|@strFuture05";
            p_sValues = "| and  1=1|" + Global.UserID + "|" + Global.DonVi + "|||";
        }
        #endregion

        #region Tìm kiếm đvt
        public static void StringTimKiemDVT(ref string p_sStoreName, ref string p_sParams, ref string p_sValues)
        {
            p_sStoreName = "sp_frmTimKiemDVT";
            p_sParams = "@strDKLoc|@strDKBatBuoc|@strFuture01|@strFuture02|@strFuture03|@strFuture04|@strFuture05";
            p_sValues = "| and  1=1|" + Global.UserID + "|" + Global.DonVi + "|||";
        }
        #endregion

        #region Tìm kiếm tài khoản
        public static void StringTimKiemTaiKhoan(ref string p_sStoreName, ref string p_sParams, ref string p_sValues)
        {
            p_sStoreName = "sp_frmTimKiemTaiKhoan";
            p_sParams = "@strDKLoc|@strDKBatBuoc|@strFuture01|@strFuture02|@strFuture03|@strFuture04|@strFuture05";
            p_sValues = "| and  1=1|" + Global.UserID + "|" + Global.DonVi + "|||";
        }
        #endregion

        #region Tìm kiếm khoản mục
        public static void StringTimKiemKhoanMuc(ref string p_sStoreName, ref string p_sParams, ref string p_sValues)
        {
            p_sStoreName = "sp_frmTimKiemKhoanMuc";
            p_sParams = "@strDKLoc|@strDKBatBuoc|@strFuture01|@strFuture02|@strFuture03|@strFuture04|@strFuture05";
            p_sValues = "| and  1=1|" + Global.UserID + "|" + Global.DonVi + "|||";
        }
        
        #endregion

        #region Tìm kiếm menu
        public static void StringTimKiemMenu(ref string p_sStoreName, ref string p_sParams, ref string p_sValues)
        {
            p_sStoreName = "sp_frmMenu";
            p_sParams = "@strDKLoc|@strDKBatBuoc|@strFuture01|@strFuture02|@strFuture03|@strFuture04|@strFuture05";
            p_sValues = "| and  1=1|" + Global.UserID + "|" + Global.DonVi + "|||";
        }
        #endregion

        #region Tìm kiếm reponse
        public static void StringTimKiemReponse(ref string p_sStoreName, ref string p_sParams, ref string p_sValues)
        {
            p_sStoreName = "sp_frmRespon";
            p_sParams = "@strDKLoc|@strDKBatBuoc|@strFuture01|@strFuture02|@strFuture03|@strFuture04|@strFuture05";
            p_sValues = "| and  1=1|" + Global.UserID + "|" + Global.DonVi + "|||";
        }
        #endregion

        #region Tìm kiếm xã phường
        public static void StringTimKiemXaPhuong(ref string p_sStoreName, ref string p_sParams, ref string p_sValues)
        {
            p_sStoreName = "sp_frmTimKiemXaPhuong";
            p_sParams = "@strDKLoc|@strDKBatBuoc|@strFuture01|@strFuture02|@strFuture03|@strFuture04|@strFuture05";
            p_sValues = "| and  1=1|" + Global.UserID + "|" + Global.DonVi + "|||";
        }
        #endregion

        #region Tìm kiếm quận huyện
        public static void StringTimKiemQuanHuyen(ref string p_sStoreName, ref string p_sParams, ref string p_sValues)
        {
            p_sStoreName = "sp_frmTimKiemQuanHuyen";
            p_sParams = "@strDKLoc|@strDKBatBuoc|@strFuture01|@strFuture02|@strFuture03|@strFuture04|@strFuture05";
            p_sValues = "| and  1=1|" + Global.UserID + "|" + Global.DonVi + "|||";
        }
        #endregion

        #region Tìm kiếm tỉnh thành
        public static void StringTimKiemTinhTP(ref string p_sStoreName, ref string p_sParams, ref string p_sValues)
        {
            p_sStoreName = "sp_frmTimKiemTinh";
            p_sParams = "@strDKLoc|@strDKBatBuoc|@strFuture01|@strFuture02|@strFuture03|@strFuture04|@strFuture05";
            p_sValues = "| and  1=1|" + Global.UserID + "|" + Global.DonVi + "|||";
        }
        #endregion

        #region Tìm kiếm chức danh
        public static void StringTimKiemChucDanh(ref string p_sStoreName, ref string p_sParams, ref string p_sValues)
        {
            p_sStoreName = "sp_frmTimKiemChucDanh";
            p_sParams = "@strDKLoc|@strDKBatBuoc|@strFuture01|@strFuture02|@strFuture03|@strFuture04|@strFuture05";
            p_sValues = "| and  1=1|" + Global.UserID + "|" + Global.DonVi + "|||";
        }
        #endregion

        #region Tìm kiếm chức vụ
        public static void StringTimKiemChucVu(ref string p_sStoreName, ref string p_sParams, ref string p_sValues)
        {
            p_sStoreName = "sp_frmTimKiemChucVu";
            p_sParams = "@strDKLoc|@strDKBatBuoc|@strFuture01|@strFuture02|@strFuture03|@strFuture04|@strFuture05";
            p_sValues = "| and  1=1|" + Global.UserID + "|" + Global.DonVi + "|||";
        }
        #endregion

        #region Tìm kiếm thiết bị
        public static void StringTimKiemThietBi(ref string p_sStoreName, ref string p_sParams, ref string p_sValues)
        {
            p_sStoreName = "sp_frmTimKiemTinh";
            p_sParams = "@strDKLoc|@strDKBatBuoc|@strFuture01|@strFuture02|@strFuture03|@strFuture04|@strFuture05";
            p_sValues = "| and  1=1|" + Global.UserID + "|" + Global.DonVi + "|||";
        }
        #endregion

        #region Tìm kiếm thân nhân
        public static void StringTimKiemThanNhan(ref string p_sStoreName, ref string p_sParams, ref string p_sValues)
        {
            p_sStoreName = "sp_frmTimKiemTinh";
            p_sParams = "@strDKLoc|@strDKBatBuoc|@strFuture01|@strFuture02|@strFuture03|@strFuture04|@strFuture05";
            p_sValues = "| and  1=1|" + Global.UserID + "|" + Global.DonVi + "|||";
        }
        #endregion
    }
}
